package com.chinairi.mall.controller;


import com.chinairi.common.controller.BaseController;
import com.chinairi.mall.service.ISysMenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 菜单管理表 前端控制器
 * </p>
 *
 * @author 李昌赐
 * @since 2020-10-15
 */
@RestController
@RequestMapping("/sys-menu")
public class SysMenuController extends BaseController {

    private static final long serialVersionUID = 1424993052754635112L;

    @Autowired
    private ISysMenuService sysMenuService;

    @GetMapping("paramValue")
    public String getParamValue(String paramKey, String appId) {
        return sysMenuService.getParamValue(paramKey,appId);
    }

    @GetMapping("getAppId")
 public String getAppId() {
        return sysMenuService.getAppId();
    }
}
